#ifndef __MATCHHANDLER_H__
#define __MATCHHANDLER_H__

#include <memory>

#include "handler.h"
#include "proto/message.pb.h"

class MatchHandler : Handler
{
public:
    typedef std::shared_ptr<MatchHandler> ptr;
    void Process(Player::ptr& player) override;
    void SetMatchModel(const void* data, int size);
private:
    proto::MatchModel m_matchModel;
};

#endif // !__MATCHHANDLER_H__